#include "fileop.h"
#include <fcntl.h>
#include <iostream>

int main(int argc, const char *argv[])
{
    FileOp mytest;
    if (mytest.Open("./1.txt", O_WRONLY | O_APPEND | O_CREAT)) {
        mytest.WriteLine("aaaaaa");
        mytest.WriteLine("bbbbb");
        mytest.Close();
    }
    return 0;
}
